package com.cloudweb.oa.api;

import cn.js.fan.util.ErrMsgException;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

public interface IInnerEmailService {

    boolean send(ServletContext application, HttpServletRequest request, String sender) throws ErrMsgException;

    boolean createDraft(ServletContext application, HttpServletRequest request, String sender) throws ErrMsgException;

    boolean transmitMsg(ServletContext application, HttpServletRequest request, String sender, int msgId) throws ErrMsgException;
}
